﻿<Window x:Class="AttachedBehavior.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:AttachedBehavior"
    Title="Window1" Height="300" Width="300">
    <Grid>
        
        <ListBox x:Name="list" 
          ItemsSource="{Binding Users}"            
          local:SelectionChangedBehavior.SelectionChanged="{Binding CallBackCommand}"/> 
        
    </Grid>
</Window>
